<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[#assign path = var_contextpath + var_resrootpath + "/" + var_syscfg.sscTemplate/]
[#include "../inc/user/questionList.html"]
[#include "../inc/user/memberItemList.html"]

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta name="Generator" content="ECSHOP v2.7.2" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="Keywords" content="" />
	<meta name="Description" content="" />
	<title>用户注册</title>
	<link rel="shortcut icon" href="favicon.ico" />
	<link rel="icon" href="animated_favicon.gif" type="image/gif" />
	<link rel="stylesheet" type="text/css" href="${path}/css/style.css" />
</head>
<body>
[#include "../inc/common/head.html"]
<div class="block box">
  <div id="ur_here"> 当前位置: <a href="${var_contextpath}/index.xhtml">首页</a> <code>&gt;</code> 用户中心 </div>
</div>
<div class="blank"></div>
<div class="usBox">
  <div class="usBox_2 clearfix">
    <div class="regtitle"></div>
    <form name="registerForm">
      <table width="100%"  border="0" align="left" cellpadding="5" cellspacing="3">
        <tr>
          <td width="13%" align="right">用户名</td>
          <td width="87%">
          	<input id="bmbNick" type="text" size="25" onblur="user_chkNick(this.value);" class="inputBg"/>
            <span id="nick_notice" style="color:#FF0000"> *</span>
          </td>
        </tr>
        <tr>
          <td align="right">电子邮件</td>
          <td>
          	<input id="bmbEmail" type="text" size="25" onblur="user_chkEmail(this.value);"  class="inputBg"/>
            <span id="email_notice" style="color:#FF0000"> *</span>
           </td>
        </tr>
        <tr>
          <td align="right">密码</td>
          <td>
          	<input id="bmbPassword" type="password" onblur="user_chkPwd(this.value);" 
          		onkeyup="user_chkPwdLevel(this.value)" class="inputBg" size="25" />
            <span style="color:#FF0000" id="password_notice"> *</span>
           </td>
        </tr>
        <tr>
          <td align="right">密码强度</td>
          <td><table width="160" border="0" cellspacing="0" cellpadding="1">
              <tr align="center">
                <td width="33%" id="pwd_lower">弱</td>
                <td width="33%" id="pwd_middle">中</td>
                <td width="33%" id="pwd_high">强</td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td align="right">确认密码</td>
          <td>
          	<input id="cfmPassword" type="password" onblur="user_chkCfmPwd(this.value);" 
          		class="inputBg" size="25"/>
            <span style="color:#FF0000" id="cfm_password_notice"> *</span>
           </td>
        </tr>
        <tr>
          <td align="right">手机</td>
          <td>
          	<input id="bmbMobile" type="text" size="25" onblur="user_chkMobile(this.value);"  class="inputBg"/>
            <span id="mobile_notice" style="color:#FF0000"> *</span>
           </td>
        </tr>
        <tr>
          <td align="right">密保问题</td>
          <td>
          	[#-- 读取注册会员问题列表自定义标签。--]
			[@ecs_questionlist]
          		[@ecs_ud_qlist par_questionList = var_questionList par_currQuestion = ""/]
          	[/@ecs_questionlist]	
          	<span id="question_notice" style="color:#FF0000"> *</span>
           </td>
        </tr>
        <tr>
          <td align="right">密保答案</td>
          <td>
          	<input id="bmbAnswer" type="text" size="25" class="inputBg" onblur="user_chkAnswer(this.value);"/>
            <span id="answer_notice" style="color:#FF0000"> *</span>
           </td>
        </tr>
        <tr>
          <td align="right">短信提醒</td>
          <td>
          	<input type="radio" name="bmbSmnotify"  value="1"/>是
    		<input type="radio" name="bmbSmnotify"  value="0" checked="checked"/>否
           </td>
        </tr>
        <tr>
          <td align="right">邮件提醒</td>
          <td>
          	<input type="radio" name="bmbEmnotify"  value="1"/>是
    		<input type="radio" name="bmbEmnotify"  value="0" checked="checked"/>否
           </td>
        </tr>
        [@ecs_memberitemlist]
        	[#if var_memberItemList ??]
	    		[@ecs_ud_milist par_memberItemList = var_memberItemList /]
	    	[/#if]
        [/@ecs_memberitemlist]
        <tr>
          <td>&nbsp;</td>
          <td>
          	<label>
          		<input id="agreement" type="checkbox" value="1" checked="checked"/>
              	我已看过并接受《<a href="article.php?cat_id=-1" style="color:blue" target="_blank">用户协议</a>》
             </label>
          </td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td align="left">
          	<input name="act" type="hidden" value="act_register" />
            <input type="hidden" name="back_act" value="" />
            <input id="registerBtn" type="button" value="" class="us_Submit_reg"
            	onclick="user_register('register');"/>
            </td>
        </tr>
        <tr>
          <td colspan="2">&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td class="actionSub"><a href="${var_contextpath}/user/login.xhtml">我已有账号，我要登录</a><br />
            <a href="${var_contextpath}/user/getPwdByEmail.xhtml">您忘记密码了吗？</a></td>
        </tr>
      </table>
    </form>
  </div>
</div>
<div class="blank"></div>
[#include "../inc/common/bottomNav.html"]
[#include "../inc/common/footer.html"]
</body>
</html>
